/*
 * @(#)CannotHandleRequestException.java
 *
 * 
 *
 * ver 1.0 Sep 12, 2007 ggranum
 */
package org.testfire.agent.exception;

import java.net.URLEncoder;
import java.io.UnsupportedEncodingException;

public class CannotHandleRequestException extends RuntimeException{
    public CannotHandleRequestException() {
    }

    public CannotHandleRequestException(Throwable cause) {
        super(cause);
    }

    public CannotHandleRequestException(String message) {
        super(message);
    }

    public CannotHandleRequestException(String message, Throwable cause) {
        super(message, cause);
    }

    public String getPOSTableTrace(){
        try {
            return URLEncoder.encode("", "UTF-8");
        } catch (UnsupportedEncodingException e) {
            //@todo yay logging here too.
            throw new RuntimeException(e);
        }
    }
}

// eof: CannotHandleRequestException.java